Release 10.1A: OpenEdge Development:
Progress Dynamics Web Development Guide


Applying themes for groups of users

Themes are the sum of all the graphical elements and styles that give an application a distinctive look. You can implement themes for specific user groups by creating multiple instances of the default HTML layout file and linking to a different style sheet in each instance.

For example, you could implement a different theme depending on whether the user is a customer or a sales person. First, make two copies of default.htm, calling one cust.htm and other sales.htm. Then edit the style sheet links to call the CSS files tailored for each group. The markup in cust.htm might look something like the following:

                                   . 
                                   . 
<link rel="stylesheet" type="text/css" href="../dhtml/cust_main.css" /> 
                                  . 
                                  . 
<td id="app" dyn="" css="../dhtml/cust_app.css"> 

Users from each group access the application by specifying the appropriate URL. For example, the customer URL for an intranet application might look something like the following:

http://myhost/dynamics100/cust.htm?icfobj=oeCustBrowseWin 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095